
"""
14-dars. Mavzu: Davr qisqacha.
"""


YEAR = 1900
while YEAR <= 2022:
    print(YEAR)
    YEAR += 1
print('Qilindi!')


l = [1, 2, 3, 'hello', ['test', 10], 'world', True]

l2 = list('hello')
l3 = list((1, 2, 3))

l4 = [i for i in 'hello']
l5 = [i for i in 'hello world' if i != ' ' and i != 'e']
l6 = [i for i in 'hello world' if i not in ['a', 'e', 'i', 'o', 'u', ' ']]

print(l, l2, l3, l4, l5, l6, sep='\n')

l7 = list(range(0, 11))
print(l7)

for i in range(1, 3):
    print(f'Tashqi davr #{i}')
    for j in range(1, 3):
        print(f'\tIchki #{j}')
